package com.witmed.entity;
/**
 * 预约时间实体类
 * @author ChenYouming
 *
 */
public class Appointment {
 private Integer appointmentId;
 private String appointmentTime;
 private Doctor doctor;
 private UserInfo user;
public Integer getAppointmentId() {
	return appointmentId;
}
public void setAppointmentId(Integer appointmentId) {
	this.appointmentId = appointmentId;
}
public String getAppointmentTime() {
	return appointmentTime;
}
public void setAppointmentTime(String appointmentTime) {
	this.appointmentTime = appointmentTime;
}
public Doctor getDoctor() {
	return doctor;
}
public void setDoctor(Doctor doctor) {
	this.doctor = doctor;
}
public UserInfo getUser() {
	return user;
}
public void setUser(UserInfo user) {
	this.user = user;
}
public Appointment(Integer appointmentId, String appointmentTime, Doctor doctor, UserInfo user) {
	super();
	this.appointmentId = appointmentId;
	this.appointmentTime = appointmentTime;
	this.doctor = doctor;
	this.user = user;
}
public Appointment() {
	super();
	// TODO Auto-generated constructor stub
}
@Override
public String toString() {
	return "Appointment [appointmentId=" + appointmentId + ", appointmentTime=" + appointmentTime + ", doctor=" + doctor
			+ ", user=" + user + "]";
}
 
}
